package com.lex.manager.dao;

import com.lex.manager.pojo.po.Captno;
import com.lex.manager.pojo.po.CaptnoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CaptnoMapper {
    int countByExample(CaptnoExample example);

    int deleteByExample(CaptnoExample example);

    int deleteByPrimaryKey(Long cid);

    int insert(Captno record);

    int insertSelective(Captno record);

    List<Captno> selectByExample(CaptnoExample example);

    Captno selectByPrimaryKey(Long cid);

    int updateByExampleSelective(@Param("record") Captno record, @Param("example") CaptnoExample example);

    int updateByExample(@Param("record") Captno record, @Param("example") CaptnoExample example);

    int updateByPrimaryKeySelective(Captno record);

    int updateByPrimaryKey(Captno record);
}